package com.cn.qtms.service;//类注释设置模板

import com.cn.qtms.base.service.BaseService;
import com.cn.qtms.entity.TmGoods;
import com.cn.qtms.entity.TmGoodsPrice;

import java.util.List;

/**
 * @Name:TmGoodsService
 * @Description:
 * @Author: zhangyang
 * @Date 2019-12-25 19:19
 **/

public interface TmGoodsPriceService extends BaseService<TmGoodsPrice,Long> {
    /**
     * 根据商品id获取用户价格 按照用户等级升序
     * @param goodsId
     * @return
     */
    List<TmGoodsPrice> findAllByGoodsId(Long goodsId);
}
